Execute an expression.
Execute ( string )
Parameters
string | string representing an expression to be evaluated. |
Return Value
Success: | Returns the value of the evaluated expression. |
Failure: | Returns "" (blank string) with @error set not to 0. |
Remarks
Environment, Files, Dir, Disk, GUI, InputBox, MsgBox, Misc, Network, Obj/COM, Process, Registry, Tray, WinKill functions implying deletion or modification will not be executed. They will set @error to 9999 and return "".
Related
Assign, Eval, Call
Example
$a=1
$v=Execute("$a+1") ; $v is set to 2